package demo.DataStrucAndAlgo.SingletonPattern.Factory;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/8/6-08-06-12:12
 * @Description：demo.DataStrucAndAlgo.SingletonPattern.Factory
 */
public class Rectangle implements Shape{

    @Override
    public void drow() {
        System.out.println("      -        ");
        System.out.println("    -    -     ");
        System.out.println("   -       -   ");
        System.out.println("  ------------ ");
    }
}
